package co.edu.poli.ficb.agl.automatable.gui;

import java.awt.Point;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;

import co.edu.poli.ficb.agl.automatable.graph.Arista;

public class PA2LabelConfiguration {
	
	private Map<Arista, Point> map;
	
	public PA2LabelConfiguration() {
		//map = new TreeMap<Arista, Point>();
		map = new HashMap<Arista, Point>();
	}

	public void savePosition(Arista e, int x, int y) {
		map.put(e, new Point(x,y));
	}

	public Point getPosition(Arista e) {
		return map.get(e);
	}

}
